<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/doc/src/examples-overview.qdoc -->
<head>
  <title>Qt 4.3: An Overview of Qt's Examples</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">An Overview of Qt's Examples<br /><small></small></h1>
<p>Qt is supplied with a variety of examples that cover almost every aspect of development. These examples are ordered by functional area, but many examples often use features from many parts of Qt to highlight one area in particular.</p>
<p>This document provides a brief overview of each example category and provides links to the more formal <a href="examples.html">list of examples</a>.</p>
<a name="widgets"></a>
<h2><a href="examples.html#widgets">Widgets</a></h2>
<p><a href="examples.html#widgets"><img src="images/widget-examples.png" /> </a></p>
<p>Qt comes with a large range of standard widgets that users of modern applications have come to expect.</p>
<p>You can also develop your own custom widgets and controls, and use them alongside standard widgets.</p>
<p>It is even possible to provide custom styles and themes for widgets that can be used to change the appearance of standard widgets and appropriately written custom widgets.</p>
<a name="dialogs"></a>
<h2><a href="examples.html#dialogs">Dialogs</a></h2>
<p><a href="examples.html#dialogs"><img src="images/dialog-examples.png" /> </a></p>
<p>Qt includes standard dialogs for many common operations, such as file selection, printing, and color selection.</p>
<p>Custom dialogs can also be created for specialized modal or modeless interactions with users.</p>
<a name="main-windows"></a>
<h2><a href="examples.html#main-windows">Main Windows</a></h2>
<p><a href="examples.html#main-windows"><img src="images/mainwindow-examples.png" /> </a></p>
<p>All the standard features of application main windows are provided by Qt.</p>
<p>Main windows can have pull down menus, tool bars, and dock windows. These separate forms of user input are unified in an integrated action system that also supports keyboard shortcuts and accelerator keys in menu items.</p>
<a name="layouts"></a>
<h2><a href="examples.html#layouts">Layouts</a></h2>
<p><a href="examples.html#layouts"><img src="images/layout-examples.png" /> </a></p>
<p>Qt uses a layout-based approach to widget management. Widgets are arranged in the optimal positions in windows based on simple layout rules, leading to a consistent look and feel.</p>
<p>Custom layouts can be used to provide more control over the positions and sizes of child widgets.</p>
<a name="painting"></a>
<h2><a href="examples.html#painting">Painting</a></h2>
<p><a href="examples.html#painting"><img src="images/painting-examples.png" /> </a></p>
<p>Qt's painting system is able to render vector graphics, images, and outline font-based text with sub-pixel accuracy accuracy using anti-aliasing to improve rendering quality.</p>
<p>These examples show the most common techniques that are used when painting with Qt, from basic concepts such as drawing simple primitives to the use of transformations.</p>
<a name="item-views"></a>
<h2><a href="examples.html#item-views">Item Views</a></h2>
<p><a href="examples.html#item-views"><img src="images/itemview-examples.png" /> </a></p>
<p>Item views are widgets that typically display data sets. Qt 4's model/view framework lets you handle large data sets by separating the underlying data from the way it is represented to the user, and provides support for customized rendering through the use of delegates.</p>
<a name="graphics-view"></a>
<h2><a href="examples.html#graphics-view">Graphics View</a></h2>
<p><a href="examples.html#graphics-view"><img src="images/graphicsview-examples.png" /> </a></p>
<p>Qt is provided with a comprehensive canvas through the <a href="graphicsview.html#graphicsview">GraphicsView</a> classes.</p>
<p>These examples demonstrate the fundamental aspects of canvas programming with Qt.</p>
<a name="rich-text"></a>
<h2><a href="examples.html#rich-text">Rich Text</a></h2>
<p><a href="examples.html#rich-text"><img src="images/richtext-examples.png" /> </a></p>
<p>Qt provides powerful document-oriented rich text engine that supports Unicode and right-to-left scripts. Documents can be manipulated using a cursor-based API, and their contents can be imported and exported as both HTML and in a custom XML format.</p>
<a name="tools"></a>
<h2><a href="examples.html#tools">Tools</a></h2>
<p><a href="examples.html#tools"><img src="images/tool-examples.png" /> </a></p>
<p>Qt is equipped with a range of capable tool classes, from containers and iterators to classes for string handling and manipulation.</p>
<p>Other classes provide application infrastructure support, handling plugin loading and managing configuration files.</p>
<a name="desktop"></a>
<h2><a href="examples.html#desktop">Desktop</a></h2>
<p><a href="examples.html#desktop"><img src="images/desktop-examples.png" /> </a></p>
<p>Qt provides features to enable applications to integrate with the user's preferred desktop environment.</p>
<p>Features such as system tray icons, access to the desktop widget, and support for desktop services can be used to improve the appearance of applications and take advantage of underlying desktop facilities.</p>
<a name="drag-and-drop"></a>
<h2><a href="examples.html#drag-and-drop">Drag and Drop</a></h2>
<p><a href="examples.html#drag-and-drop"><img src="images/draganddrop-examples.png" /> </a></p>
<p>Qt supports native drag and drop on all platforms via an extensible MIME-based system that enables applications to send data to each other in the most appropriate formats.</p>
<p>Drag and drop can also be implemented for internal use by applications.</p>
<a name="threads"></a>
<h2><a href="examples.html#threads">Threads</a></h2>
<p><a href="examples.html#threads"><img src="images/thread-examples.png" /> </a></p>
<p>Qt 4 makes it easier than ever to write multithreaded applications. More classes have been made usable from non-GUI threads, and the signals and slots mechanism can now be used to communicate between threads.</p>
<p>Additionally, it is now possible to move objects between threads.</p>
<a name="network"></a>
<h2><a href="examples.html#network">Network</a></h2>
<p><a href="examples.html#network"><img src="images/network-examples.png" /> </a></p>
<p>Qt is provided with an extensive set of network classes to support both client-based and server side network programming.</p>
<p>These examples demonstrate the fundamental aspects of network programming with Qt.</p>
<a name="xml"></a>
<h2><a href="examples.html#xml">XML</a></h2>
<p><a href="examples.html#xml"><img src="images/xml-examples.png" /> </a></p>
<p>XML parsing and handling is supported through SAX and DOM compliant APIs.</p>
<p>Qt's SAX compliant classes allow you to parse XML incrementally; the DOM classes enable more complex document-level operations to be performed on XML files.</p>
<a name="opengl"></a>
<h2><a href="examples.html#opengl">OpenGL</a></h2>
<p><a href="examples.html#opengl"><img src="images/opengl-examples.png" /> </a></p>
<p>Qt provides support for integration with <a href="#opengl">OpenGL</a> implementations on all platforms, giving developers the opportunity to display hardware accelerated 3D graphics alongside a more conventional user interface.</p>
<p>These examples demonstrate the basic techniques used to take advantage of <a href="#opengl">OpenGL</a> in Qt applications.</p>
<a name="sql"></a>
<h2><a href="examples.html#sql">SQL</a></h2>
<p><a href="examples.html#sql"><img src="images/sql-examples.png" /> </a></p>
<p>Qt provides extensive database interoperability, with support for products from both open source and proprietary vendors.</p>
<p>SQL support is integrated with Qt's model/view architecture, making it easier to provide GUI integration for your database applications.</p>
<a name="qt-assistant"></a>
<h2><a href="examples.html#qt-assistant">Qt Assistant</a></h2>
<p><a href="examples.html#qt-assistant"><img src="images/assistant-examples.png" /> </a></p>
<p>Support for interactive help is provided by the Qt Assistant application. Developers can take advantages of the facilities it offers to display specially-prepared documentation to users of their applications.</p>
<a name="qt-designer"></a>
<h2><a href="examples.html#qt-designer">Qt Designer</a></h2>
<p><a href="examples.html#qt-designer"><img src="images/designer-examples.png" /> </a></p>
<p>Qt Designer is a capable graphical user interface designer that lets you create and configure forms without writing code. GUIs created with Qt Designer can be compiled into an application or created at run-time.</p>
<a name="uitools"></a>
<h2><a href="examples.html#uitools">UiTools</a></h2>
<p><a href="examples.html#uitools"><img src="images/uitools-examples.png" /> </a></p>
<p>Qt is equipped with a range of capable tool classes, from containers and iterators to classes for string handling and manipulation.</p>
<p>Other classes provide application infrastructure support, handling plugin loading and managing configuration files.</p>
<a name="qt-linguist"></a>
<h2><a href="examples.html#qt-linguist">Qt Linguist</a></h2>
<p><a href="examples.html#qt-linguist"><img src="images/linguist-examples.png" /> </a></p>
<p>Internationalization is a core feature of Qt. These examples show how to access translation and localization facilities at run-time.</p>
<a name="qt-script"></a>
<h2><a href="examples.html#qt-script">Qt Script</a></h2>
<p><a href="examples.html#qt-script"><img src="images/qtscript-examples.png" /> </a></p>
<p>Qt is provided with a powerful embedded scripting environment through the <a href="qtscript.html">QtScript</a> classes.</p>
<p>These examples demonstrate the fundamental aspects of scripting applications with Qt.</p>
<a name="qtopia-core"></a>
<h2><a href="examples.html#qtopia-core">Qtopia Core</a></h2>
<p><a href="examples.html#qtopia-core"><img src="images/qtopiacore-examples.png" /> </a></p>
<p>Qtopia Core is an implementation of Qt for embedded Linux. These examples show how to take advantage of features specifically designed for use on systems with limited resources, specialized hardware, and small screens.</p>
<a name="activeqt"></a>
<h2><a href="examples.html#activeqt">ActiveQt</a></h2>
<p>Qt is supplied with a number of example applications and demonstrations that have been written to provide developers with examples of the Qt API in use, highlight good programming practice, and showcase features found in each of Qt's core technologies.</p>
<p>The example and demo launcher can be used to explore the different categories available. It provides an overview of each example, lets you view the documentation in Qt Assistant, and is able to launch examples and demos.</p>
<a name="another-source-of-examples"></a>
<h2><a href="http://doc.trolltech.com/qq">Another Source of Examples</a></h2>
<p>One more valuable source for examples and explanations of Qt features is the archive of the <a href="http://doc.trolltech.com/qq">Qt Quarterly</a>.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
